x86: fix get_free_pirq
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 31 Aug 2009 08:47:30 +0000 (09:47 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 31 Aug 2009 08:47:30 +0000 (09:47 +0100)
commitb05c476cf6595bbdc7017e9c2a683fdd5cf72117
tree937da35ff3012f49e4926fcbbca1fca59238c230
parentd4fc7ea04de2d81f78a03ff7ae0fb5ee27dd6d49
x86: fix get_free_pirq

GSI should not be allocated for other purpose, so change
the hard code limit.

Also fix the out of loop checking, it should be '<' instead of
'=='.

Signed-off-by: Qing He <qing.he@intel.com>
xen/arch/x86/irq.c